package com.nache.activity;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;

import com.facebook.*;
import com.facebook.model.*;

import android.widget.Button;
import android.widget.TextView;
import android.content.Intent;
public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
    	  setContentView(R.layout.activity_main);

    	 Button fblogin = (Button) findViewById(R.id.fbbutton);
    	 fblogin.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(MainActivity.this, LoginPage.class);
	            startActivity(intent);      
	            finish();
			}
    	 });
    	
    }

   
    
}
